package main.java.game.command;

import main.java.game.combatant.Hero;
import main.java.game.item.Equipable;

public class EquipItem implements PlayerCommand {

	private Equipable equipable;
	private Hero hero;
	
	public EquipItem (Equipable equipable, Hero hero){
		this.equipable = equipable;
		this.hero = hero;
	}
	
	@Override
	public void execute() {
		equipable.equip(hero);

	}

	
}
